home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
tex
/
fortune.zip
/
FORTUNE.DOC
< prev
next >
Wrap
Text File
|
1989-08-16
|
21KB
|
497 lines
┌────────────────────────────────┐
│ │
│ Fortune Cookie version 2.0 │
│ │
│ By │
│ │
│ Thomas J. Clancy │
│ │
│ Copyright (c) 1989 │
│ TC Software │
│ Thiel College │
│ Greenville, PA 16125 │
│ │
└────────────────────────────────┘
Table of Contents
Subject Page#
INTRODUCTION....................................... 1
INSTALLING FORTUNE COOKIE.......................... 1
Required files................................ 1
Hardware and Software requirements............ 2
RUNNING FORTUNE COOKIE............................. 2
Printing Cookies.............................. 2
Adding Cookies................................ 3
Displaying Cookies............................ 3
Erasing, Unerasing, and Compressing........... 4
A Look Inside the Cookie Jar.................. 5
Smashing the Cookie Jar....................... 6
Using the Flags............................... 6
USING FORTCNVT..................................... 7
TECHNICAL INFORMATION.............................. 7
A SHAREWARE NOTE................................... 8
QUESTIONS AND COMMENTS............................. 8
INTRODUCTION
Welcome to the world of Fortune Cookie. This is a
simple program for displaying and editing quotations or
personal sayings or what have you. This is perfect for
including in your AUTOEXEC file for displaying a random
fortune whenever you boot your system.
I've always enjoyed collecting famous quotations and
especially enjoyed the fortune cookie program on the DEC
MINI's like the PDP-11, so I decided to write my own. No,
not in the tradition of C, but in Turbo Pascal 5.5.
Using Fortune Cookie is very simple which I'll explain
in a moment. Your probably wondering what you can do with
Fortune. If you ran fortune before reading this manual you
probably noticed the numerous options that I've included in
version 2.0.
You're also probably wondering where and when I released
1.0. I've only posted version 1 on local BBS's in my area
for BETA testing. Now that I've fixed most of the bugs (I'd
like to think all the bugs, but that's very wishful thinking)
I'm hoping to distribute it in a wider area.
With Fortune Cookie, you can add quotes (or cookies) to
the cookie file, you can display a certain cookie, you can
display a random cookie, you can send you're cookie file to
the printer, you can kill the cookie file (smash the cookie
jar), you can erase and unerase a cookie, and you can
compress the erased cookies (erasing just marks them for
deletion).
INSTALLING FORTUNE COOKIE
Before installing Fortune Cookie you should check to see
that you have the following files:
FORTUNE.EXE - The executable fortune cookie program.
FORTUNE.DOC - This manual (of course).
FORTCNVT.EXE - Fortune cookie 1.0 to 2.0 file converter
COOKIE.DOC - The Cookie Jar (file of fortune cookies)
README.BAT - Batch file that loads manual into file
viewer.
VIEW.EXE - The file viewer program.
If you're missing one of these file please notify the sysop
of the board or the person from whom you copied it, or let me
know so that I can send you a fresh copy. Actually, the file
viewer is just a luxury so it's not essential for running
Fortune Cookie. I just provide the file viewer with most of
my software.
This program is small and should run in 64K of memory.
I have 640K (as do most of us) so I haven't been able to test
it on a machine with less memory but I think it'll work
comfortably on any PC Compatible these days. It will run
Page (1)
under DOS 2.0 or higher, maybe even 1.0, but I haven't tested
it below DOS 2. Although Fortune Cookie will run from a
floppy disk, a hard disk is preferable and much faster.
If you are using a hard disk, and I'll assume you are,
the easiest way to install Fortune would be to create a
subdirectory, in the root directory, called FORTUNE and
copy all the files from the distribution disk to that directory.
Then add the following lines to your AUTOEXEC.BAT file:
cd \FORTUNE
FORTUNE /r
cd \
I'll explain what the /r after FORTUNE is in a moment.
Since Fortune Cookie doesn't search the path for the
cookie jar, it is essential that you run it in the same
subdirectory where the cookie jar is stored.
If you don't have a hard disk just place all the files
in the root directory of a favorite floppy. All the
instruction will apply to you as well since Fortune Cookie
does not rely on a hard disk.
RUNNING FORTUNE COOKIE
Printing Cookies:
Your probably interested in seeing what sort of cookies
you have in your jar. If you have a printer attached to your
computer you have two ways of printing your fortunes. One
way is to do a straight dump to the printer by typing:
Fortune /P
or you can send a numbered listing to the printer by typing:
Fortune /#
If you haven't got a printer you can still see all the
fortunes by typing:
Fortune /D
which displays the fortunes on the screen one after the
other. Press the HOLD key (Tandy 1000) or Scroll Lock key
(the others) to pause the display.
Once you've gotten a hard copy, or memorized the screen
listing, you can add new ones or delete any current ones.
Because this is shareware you may have a cookie jar that has
been altered by many hands. If you are using this program,
and are planning to pass it on, I would appreciate it if you
would keep the original file in tact for others to see. You
can add new ones, but I would appreciate it if you would not
delete the originals when passing it on to